//
//  ChatMessage.h
//  WXIMSDK
//
//  Created by fusuwei on 14-9-3.
//  Copyright (c) 2014年 网信金融集团. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "IWxChatMgrChatDefs.h"


@interface ChatMessage : NSObject

/*!
 @property
 @brief       消息Id
 */
@property (nonatomic,strong) NSString *messageId;
/*!
 @property
 @brief       消息类型
 */
@property (nonatomic,assign) NSUInteger messageType;

/*!
 @property
 @brief       接收或发出消息时间
 */
@property (nonatomic,strong) NSString *createTime;

/*!
 @property
 @brief       消息状态
 */
@property (nonatomic,assign) ChatMsgState messageStatus;

/*!
 @property
 @brief       聊天对方Id
 */
@property (nonatomic,strong) NSString *contactId;

/*!
 @property
 @brief       发出或接收flag
 */
@property (nonatomic,assign) MsgIOStateType isIncoming;

/*!
 @property
 @brief       是否群聊消息
 */
@property (nonatomic,assign) BOOL isGroupMsg;

@property (nonatomic,strong)NSString *fromMemberID;//群聊的时候 来自成员的ID

/*!
 @property
 @brief       是否已读消息
 */
@property (nonatomic,assign) BOOL isRead;

/*!
 @property
 @brief       消息内容
 */
@property (nonatomic,strong) NSString *messageBody;

@end


